/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

function Title(config){
    
    API.apply(this, config, {
        class: 'title',
        text: 'Ejercicio Nivel 2'
    });
    
    var DOM = document.createElement('p');
    DOM.className = this.class;    
    DOM.appendChild(document.createTextNode(this.text));
    
    this.DOM = DOM;    
}; 
